package com.house.system.domain;

import com.house.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户报障对象对象 report
 * 
 * @author tc
 * @date 2022-02-25
 */
public class Report extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报障编号 */
    private Long reportId;

    /** 房屋编号 */
    private Long houseId;

    /** 报障人编号 */
    private Long userId;

    /** 报障部位 */
    private String reportDetail;

    /** 状态 0:正常 1:停用 */
    private String status;

    /** 处理状态  1:处理  0:未处理 */
    private String isHandle;

    public void setReportId(Long reportId) 
    {
        this.reportId = reportId;
    }

    public Long getReportId() 
    {
        return reportId;
    }
    public void setHouseId(Long houseId) 
    {
        this.houseId = houseId;
    }

    public Long getHouseId() 
    {
        return houseId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setReportDetail(String reportDetail) 
    {
        this.reportDetail = reportDetail;
    }

    public String getReportDetail() 
    {
        return reportDetail;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setIsHandle(String isHandle) 
    {
        this.isHandle = isHandle;
    }

    public String getIsHandle() 
    {
        return isHandle;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reportId", getReportId())
            .append("houseId", getHouseId())
            .append("userId", getUserId())
            .append("reportDetail", getReportDetail())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("isHandle", getIsHandle())
            .toString();
    }
}
